//
//  ShopPanel.hpp
//  petgame
//
//  Created by zz on 2018/12/13.
//

#ifndef ShopPanel_hpp
#define ShopPanel_hpp

#include <stdio.h>
#include "cocos2d.h"
using namespace cocos2d;
#include "ui/CocosGUI.h"
#include "ShopItem.hpp"
using namespace ui;

//商店面板类
class ShopPanel:public Layer{
  
    
public:
//    商店对象创建
    static ShopPanel*create();
//    初始化
    bool init();
//    关闭商店
    void backFun(Ref*pSender);
   
private:
    
    LabelTTF*_gold;
    LabelTTF*_diamond;
    
    int glod;
    int diamond;
    
    
};


#endif /* ShopPanel_hpp */
